<?php

class Damages_Methods_Data_Brand {

  /**
   *
   * @var int 
   */
  public $id;

  /**
   *
   * @var string 
   */
  public $code;

  /**
   *
   * @var string 
   */
  public $name;

  public function __construct(DamagesDictBrands $data) {
    $this->id = $data->getId();
    $this->code = $data->getCode();
    $this->name = $data->getName();
  }

}